<!-- HTML header for doxygen 1.8.18-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=9" />
    <meta name="generator" content="Doxygen 1.8.18" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>Limit Order Book: LOB::Limit Struct Reference</title>
    <link href="tabs.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="jquery.js"></script>
    <script type="text/javascript" src="dynsections.js"></script>
    <link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
    <script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
    <link href="html_stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div id="top">
        <!-- do not remove this div, it is closed by doxygen! -->
        <div id="titlearea">
            <table cellspacing="0" cellpadding="0">
                <tbody>
                    <tr style="height: 56px;">
                        <td id="projectalign" style="padding-left: 0.5em;">
                            <div id="projectname">Limit Order Book
                                &#160;<span id="projectnumber">2.0.0</span>
                            </div>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_l_o_b.html">LOB</a></li><li class="navelem"><a class="el" href="struct_l_o_b_1_1_limit.html">Limit</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="struct_l_o_b_1_1_limit-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">LOB::Limit Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A price limit containing a FIFO queue of <a class="el" href="struct_l_o_b_1_1_order.html" title="A single order in the LimitOrderBook.">Order</a> objects.  
 <a href="struct_l_o_b_1_1_limit.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="structures_8hpp_source.html">structures.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for LOB::Limit:</div>
<div class="dyncontent">
 <div class="center">
  <img src="struct_l_o_b_1_1_limit.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a200e1bfc4df7ab3926f14cf9c56df4fb"><td class="memItemLeft" align="right" valign="top"><a id="a200e1bfc4df7ab3926f14cf9c56df4fb"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_l_o_b_1_1_limit.html#a200e1bfc4df7ab3926f14cf9c56df4fb">Limit</a> ()</td></tr>
<tr class="memdesc:a200e1bfc4df7ab3926f14cf9c56df4fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize a new limit data. <br /></td></tr>
<tr class="separator:a200e1bfc4df7ab3926f14cf9c56df4fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6be14b27efd8c571089c4e80decff8f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_l_o_b_1_1_limit.html#ab6be14b27efd8c571089c4e80decff8f">Limit</a> (<a class="el" href="struct_l_o_b_1_1_order.html">Order</a> *order)</td></tr>
<tr class="memdesc:ab6be14b27efd8c571089c4e80decff8f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize a new limit data.  <a href="struct_l_o_b_1_1_limit.html#ab6be14b27efd8c571089c4e80decff8f">More...</a><br /></td></tr>
<tr class="separator:ab6be14b27efd8c571089c4e80decff8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a5143704d888d4a1029b217eca6f94d18"><td class="memItemLeft" align="right" valign="top"><a id="a5143704d888d4a1029b217eca6f94d18"></a>
<a class="el" href="namespace_l_o_b.html#a98c8cdadc7da7cd760e1a6dede850854">Count</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_l_o_b_1_1_limit.html#a5143704d888d4a1029b217eca6f94d18">count</a> = 0</td></tr>
<tr class="memdesc:a5143704d888d4a1029b217eca6f94d18"><td class="mdescLeft">&#160;</td><td class="mdescRight">the number of orders at this limit price <br /></td></tr>
<tr class="separator:a5143704d888d4a1029b217eca6f94d18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcf0b362b5ae3c20be119d7e18b2a72e"><td class="memItemLeft" align="right" valign="top"><a id="abcf0b362b5ae3c20be119d7e18b2a72e"></a>
const uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_l_o_b_1_1_limit.html#abcf0b362b5ae3c20be119d7e18b2a72e">_padding</a> = 0</td></tr>
<tr class="memdesc:abcf0b362b5ae3c20be119d7e18b2a72e"><td class="mdescLeft">&#160;</td><td class="mdescRight">padding for byte alignment <br /></td></tr>
<tr class="separator:abcf0b362b5ae3c20be119d7e18b2a72e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73fcec9f433efd6a506f1c08bf52a233"><td class="memItemLeft" align="right" valign="top"><a id="a73fcec9f433efd6a506f1c08bf52a233"></a>
<a class="el" href="namespace_l_o_b.html#a0860e916768a8e3baaadf73c1a6f9c58">Volume</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_l_o_b_1_1_limit.html#a73fcec9f433efd6a506f1c08bf52a233">volume</a> = 0</td></tr>
<tr class="memdesc:a73fcec9f433efd6a506f1c08bf52a233"><td class="mdescLeft">&#160;</td><td class="mdescRight">the total amount of volume at this limit price (sum of order shares) <br /></td></tr>
<tr class="separator:a73fcec9f433efd6a506f1c08bf52a233"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a596cd48cc1faf4f2f2e79f4ae354bdb4"><td class="memItemLeft" align="right" valign="top"><a id="a596cd48cc1faf4f2f2e79f4ae354bdb4"></a>
<a class="el" href="struct_l_o_b_1_1_order.html">Order</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_l_o_b_1_1_limit.html#a596cd48cc1faf4f2f2e79f4ae354bdb4">order_head</a> = nullptr</td></tr>
<tr class="memdesc:a596cd48cc1faf4f2f2e79f4ae354bdb4"><td class="mdescLeft">&#160;</td><td class="mdescRight">the first order in the queue (next to execute) <br /></td></tr>
<tr class="separator:a596cd48cc1faf4f2f2e79f4ae354bdb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2708f69d5bdb44d7d4b2296b02055e1"><td class="memItemLeft" align="right" valign="top"><a id="ab2708f69d5bdb44d7d4b2296b02055e1"></a>
<a class="el" href="struct_l_o_b_1_1_order.html">Order</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_l_o_b_1_1_limit.html#ab2708f69d5bdb44d7d4b2296b02055e1">order_tail</a> = nullptr</td></tr>
<tr class="memdesc:ab2708f69d5bdb44d7d4b2296b02055e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">the last order in the queue (last to execute) <br /></td></tr>
<tr class="separator:ab2708f69d5bdb44d7d4b2296b02055e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A price limit containing a FIFO queue of <a class="el" href="struct_l_o_b_1_1_order.html" title="A single order in the LimitOrderBook.">Order</a> objects. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ab6be14b27efd8c571089c4e80decff8f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab6be14b27efd8c571089c4e80decff8f">&#9670;&nbsp;</a></span>Limit()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">LOB::Limit::Limit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_l_o_b_1_1_order.html">Order</a> *&#160;</td>
          <td class="paramname"><em>order</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Initialize a new limit data. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">order</td><td>the initial order to create the limit with </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>include/<a class="el" href="structures_8hpp_source.html">structures.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.18-->
<!-- start footer part -->
</body>
</html>
